<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <meta content="Helen" name="generator">
<style type="text/css">
<!--
p {
  margin-bottom: 0.08in;
}
-->
</style>
    <title>Assembly Instructions</title>
  </head>
  <body>
    <p>
       &nbsp;
    </p>
    <h2>
       JSimpleSim Assembler syntax
    </h2>
    <hr>
    <p>
       &nbsp;
    </p>
    <p>
       <b>Every line in the assembly file has the following syntax:</b>
    </p>
    <ul>
      <li>
        A <font color="#000080">LINE</font> line = <font color="#ff0000">label</font>: &nbsp;<font
        color="#000080">&nbsp;instruction</font> ;<i><font color="#008000">comment</font></i>
      </li>
      <li>
        A line starts with an optional label, followed by an colon.The optional instruction. - An
        optional comment, which starts with the semicolon and ends at the end of the line.
      </li>
      <li>
        All parts are optional, therefore, each part may be left out as well 
        <ul>
          <li>
            Examples: 
            <ul>
              <li>
                <font color="#ff0000">Loop</font>: &nbsp;&nbsp;<font color="#000080">load</font>
                R1, [R2]
              </li>
              <li>
                <font color="#000080">load</font> R1, [R2]
              </li>
              <li>
                <font color="#000080">load</font> R1, [R2] <i><font color="#008000">;This is a
                comment</font></i>
              </li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
    <p>
       <b>Label Syntax:</b>
    </p>
    <ul>
      <li>
        A <font color="#ff0000">LABEL</font> label = (letter | decdigit)*.
      </li>
      <li>
        letter = 'a' | ... | 'z' | 'A' | ... | 'Z'
      </li>
      <li>
        decdigit = '0' | ... | '9'
      </li>
      <li>
        A label is a sequence of letters, and decimal digits, but it may not start with a digit. 
        <ul>
          <li>
            Examples: 
            <ul>
              <li>
                <font color="#ff0000">Test:</font>
              </li>
              <li>
                <font color="#ff0000">Atest1:</font>
              </li>
              <li>
                <font color="#ff0000">Le2Et:</font>
              </li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
    <p>
       <b><font color="#000000">Instruction Syntax:</font></b>
    </p>
    <ul>
      <li>
        An <font color="#000080">INSTRUCTION</font> instruction = mnemonic operands
      </li>
      <li>
        An instruction starts with a mnemonic, followed by the operands.
      </li>
      <li>
        See <a href="./AssemblyLanguage.html#instruction_mnemonics">Instruction
        Mnemonics</a>&nbsp;for mnemonic/operand combinations.
      </li>
    </ul>
    <p>
       <b>Comment Syntax:</b>
    </p>
    <ul>
      <li>
        A COMMENT comment = ; (any character)* - the "*" means zero or more times
      </li>
      <li>
        A comment starts after a semicolon and ends at the end of the line. Any character is
        allowed.
      </li>
    </ul>
    <p>
       <b>Number Representation</b>
    </p>
    <ul>
      <li>
        A NUMBER number = decNum | hexNum 
        <ul>
          <li>
            decNum = ['-'] decDigit 
            <ul>
              <li>
                decDigit = '0' | ... | '9'
              </li>
            </ul>
          </li>
          <li>
            hexNum = ('0x' hexDigit+) - the "+" means one or more times 
            <ul>
              <li>
                hexDigit = '0' | ... | '9' | 'A' | ... | 'F'
              </li>
            </ul>
          </li>
        </ul>
      </li>
      <li>
        A number can be a decimal number or a hexadecimal number.
      </li>
      <li>
        A decimal number is a sequence of decimal digits ('0' up to '9'). It may start with a '-'
        to indicate the number is negative.
      </li>
      <li>
        A hexadecimal number can be written in 1 way: The number starts with '0x', followed by a
        sequence of hexadecimal digits ('0' up to '9' and 'A' up to 'F').
      </li>
      <li>
        Spaces are not allowed within a number.
      </li>
    </ul>
    <p>
       <b>String Literals</b>
    </p>
    <ul>
      <li>
        A STRING string = "(any character except double quote)*" | '(any character except quote)*'
      </li>
      <li>
        A string is zero or more characters between either single quotes (') or double quotes (").
      </li>
      <li>
        A string can contain any character except the character used to quote.
      </li>
    </ul>
    <p>
       <b>Remarks:</b>
    </p>
    <ul>
      <li>
        All identifiers (labels and mnemonics) and (hexadecimal) numbers are case-insensitive. This
        means that load, Load, LOAD and lOaD are all the same and so are 0xAB, 0Xab and 0XAB.
      </li>
    </ul>
    <p>
       <b><a id="instruction_mnemonics" name="instruction_mnemonics"><font size="+1">Instruction
      Mnemonics</font></a></b>
    </p>
    <p>
       <b><font size="3">Pseudo Instructions</font></b>
    </p>
    <p>
       <b><u>data byte</u></b>
    </p>
    <ul>
      <li>
        <font color="#000080">db</font> dataitem_1, dataitem_2, ..., dataitem_n 
        <ul>
          <li>
            Puts data directly into the memory.
          </li>
          <li>
            A dataitem can be either a number or a string.
          </li>
          <li>
            An unlimited number of dataitems can be specified.
          </li>
          <li>
            Examples: 
            <ul>
              <li>
                <font color="#000080">db</font> 1,4,9,16,25,36
              </li>
              <li>
                <font color="#000080">db</font> "Hello world",0
              </li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
    <p>
       <b><u>origin</u></b>
    </p>
    <ul>
      <li>
        <font color="#000080">org</font> adr
      </li>
      <li>
        The memory location&nbsp;is set to adr.
      </li>
      <li>
        Address adr must be a number.
      </li>
      <li>
        Different fragments of code are not allowed to overlap.
      </li>
      <li>
        Examples: 
        <ul>
          <li>
            org 0x60 load R0,2 ;put this instruction at address 0x60
          </li>
          <li>
            Can be used to control where one wants the location of instructions to be placed into
            memory
          </li>
        </ul>
      </li>
    </ul>
    <p>
       <b><u>block started by symbol</u></b>
    </p>
    <ul>
      <li>
        <font color="#ff0000">label:</font> <font color="#000080">bss</font> <i><font color=
        "#000000">hexNumber</font></i>
      </li>
      <li>
        Reserves a specific amount of memory cells. Useful for allocating memory for an array, or
        block of storage
      </li>
      <li>
        The label is required because it contains the starting address of the reserved block space,
        without it there's no way to access that space
      </li>
      <li>
        Examples: 
        <ul>
          <li>
            <font color="#ff0000">Test:</font> <font color="#000080">bss</font> 0x0A <i><font
            color="#008000">;reserves 10 memory cells, basically all it does is assign the current
            memory location to Test, then increases the memory location&nbsp;by 10 positions, so
            for example if the memory location of Test is at 0x02, then after this statement the
            next instruction will be located at cell 0x0C, so there will be a gap of ten memory
            cells that will be accessible by using the label Test</font></i>
          </li>
          <li>
            <font color="#000080">org</font> 100 &nbsp;&nbsp;&nbsp;&nbsp;<i><font color="#008000">;
            set the memory location to memory address 0x64</font></i><br>
             <font color="#ff0000">Test</font>: bss 5 <i><font color="#008000">;and then set aside
            5 memory cells so that the next instruction will be located at memory cell
            0x69</font></i>
          </li>
        </ul>
      </li>
    </ul>
    <p>
       <b><font size="4">Instructions</font></b>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">immediate load</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">load reg,number</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">load reg,label</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Assign the immediate value (number or
      address of label) to register reg.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Examples:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">load R4,8</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">load
      R9,Label_of_something</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">direct load</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">load reg,[adr]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Assign the memory contents at address adr
      to register reg.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Address adr can be a number or a
      label.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Examples:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">load R4,[8]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">load
      R9,[Label_of_something]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">indirect load</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">load reg1,[reg2]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Assign the memory contents of which
      register reg2 holds the address to register reg1.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">load R4,[R8]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">direct store</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">store reg,[adr]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Put the value of register reg at memory
      location adr.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Address adr can be a number or a
      label.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Examples:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">store R4,[8]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">store
      R9,[Label_of_something]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">indirect store</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">store reg1,[reg2]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Put the value of register reg1 at memory
      location of which register reg2 holds the address.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">store R4,[R8]</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">move</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">move reg1,reg2</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Assign the value of register reg2 to
      register reg1.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">move R4,R8</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">integer addition</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">addi reg1,reg2,reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Assign the integer, 2-complement sum of
      register reg2 and register reg3 to register reg1.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">addi R7,R1,R2</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">floating point addition</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">addf reg1,reg2,reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Assign the floating-point sum of register
      reg2 and register reg3 to register reg1.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">addf R7,R1,R2</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">bitwise or</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">or reg1,reg2,reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- reg1 := reg2 OR reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">OR R7,R1,R2</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">bitwise and</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">and reg1,reg2,reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- reg1 := reg2 AND reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">AND R7,R1,R2</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">bitwise exclusive or</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">xor reg1,reg2,reg3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- reg1 := reg2 XOR regr3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">XOR R7,R1,R2</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">rotate right</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">ror reg,num</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Rotate register reg to the right for num
      number of times.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">ror RC,3</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">jump when equal</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">jmpEQ reg=R0,adr</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Jump to address adr when register reg is
      equal to register R0.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Address adr can be a number or a
      label.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Examples:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">jmpEQ R7=R0,42h</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">jmpEQ
      R2=R0,Label_to_some_code</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">jump when less or equal</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">jmpLE reg&lt;=R0,adr</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Jump to address adr when register reg is
      less than or equal to register R0.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Address adr can be a number or a
      label.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Examples:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">jmpLE R7&lt;=R0,42h</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">jmpLE
      R2&lt;=R0,Label_to_some_code</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">unconditional jump</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">jmp adr</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Jump to address adr.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Address adr can be a number or a
      label.</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Examples:</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">jmp 42h</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" color="#800000" size="2">jmp Label_to_some_code</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
      <br>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <i><b><font face="MS Sans Serif, sans-serif" size="2">stop program</font></b></i>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="Courier New, monospace" size="2">halt</font>
    </p>
    <p style=" text-indent: -0.13in; margin-bottom: 0in; line-height: 100%; margin-left: 0.13in;">
       <font face="MS Sans Serif, sans-serif" size="2">- Stop the execution of the program.</font>
    </p>
    <p style=" margin-bottom: 0in;">
       <font face="MS Sans Serif, sans-serif" color="#800000" size="2">Example:</font>
    </p>
  </body>
</html>
